package com.example.bean;

import java.util.Date;

public class Student {
    private int sid;
    private String sname;
    private String ssex;
    private String sage;
    private String semail;
    private String stext;

    public Student() {
    }

    public Student(String sname, String ssex, String sage, String semail, String stext) {
        this.sname = sname;
        this.ssex = ssex;
        this.sage = sage;
        this.semail = semail;
        this.stext = stext;
    }

    public Student(String sname) {
        this.sname = sname;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSsex() {
        return ssex;
    }

    public void setSsex(String ssex) {
        this.ssex = ssex;
    }

    public String getSage() {
        return sage;
    }

    public void setSage(String sage) {
        this.sage = sage;
    }

    public String getSemail() {
        return semail;
    }

    public void setSemail(String semail) {
        this.semail = semail;
    }

    public String getStext() {
        return stext;
    }

    public void setStext(String stext) {
        this.stext = stext;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sname='" + sname + '\'' +
                ", ssex='" + ssex + '\'' +
                ", sage=" + sage +
                ", semail='" + semail + '\'' +
                ", stext='" + stext + '\'' +
                '}';
    }
}
